/* 参数校验 */
function paramsVerify(){
    return async function(ctx,next){
       ctx.verify = function(params,number){
            return Object.keys(params).length == number
       }
       await next()
    }
}
module.exports = paramsVerify